<template>
	<p>
		vue3的mixins中data只进行浅层拷贝合并，如果该字段已存在就不合并拷贝，vue2会进行深层拷贝
  </p>
</template>
<script>
  import myMixins from './myMixins'
	export default {
		name: 'testMixins',
    mixins: [myMixins],
		setup(){
			
		},
    data(){
      return {
        user: {
          name: 'zqf',
          address: '武汉',
        }
      }
    },
    mounted(){
      console.log('this.user', this.user)
      console.log('this.age', this.age)
    },
	}
	
</script>